def prime_factors(n):
    factors = {}
    while n % 2 == 0:
        factors[2] = factors.get(2, 0) + 1
        n = n // 2
    i = 3
    while i * i <= n:
        while n % i == 0:
            factors[i] = factors.get(i, 0) + 1
            n = n // i
        i += 2
    if n > 2:
        factors[n] = 1
    return factors

n = 2021041820210418
factors = prime_factors(n)
res = 1
for i in factors.values():
    way = (i + 2) * (i+ 1) // 2
    res *= way
print(res)
